﻿Imports System
Imports System.Runtime.CompilerServices
Imports System.Runtime.InteropServices

Namespace Google.Desktop.Interop
    <ComImport, Guid("2C6F11D4-CF22-4E1F-A271-2A4A0393ADAC"), TypeLibType(CShort(2)), ClassInterface(CShort(0))> _
    Public Class GoogleDesktopEventPublisherClass
        Implements IGoogleDesktopEventPublisher, GoogleDesktopEventPublisher
        ' Methods
        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime)> _
        Public Sub New()

        End Sub

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3F2)> _
        Public Overridable Function Subscribe(<[In]()> ByVal registration_cookie As Integer, <[In](), MarshalAs(UnmanagedType.IUnknown)> ByVal subscriber As Object) As <MarshalAs(UnmanagedType.Interface)> IGoogleDesktopEventSubscription Implements IGoogleDesktopEventPublisher.Subscribe

        End Function

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3F3)> _
        Public Overridable Sub Unsubscribe(<[In](), MarshalAs(UnmanagedType.Interface)> ByVal subscription As IGoogleDesktopEventSubscription) Implements IGoogleDesktopEventPublisher.Unsubscribe

        End Sub

    End Class
End Namespace

